package cn.iocoder.yudao.module.shop.convert.giftcardrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.giftcardrecord.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.giftcardrecord.ShopGiftCardRecordDO;

/**
 * 礼品卡绑定记录 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopGiftCardRecordConvert {

    ShopGiftCardRecordConvert INSTANCE = Mappers.getMapper(ShopGiftCardRecordConvert.class);

    ShopGiftCardRecordDO convert(ShopGiftCardRecordCreateReqVO bean);

    ShopGiftCardRecordDO convert(ShopGiftCardRecordUpdateReqVO bean);

    ShopGiftCardRecordRespVO convert(ShopGiftCardRecordDO bean);

    List<ShopGiftCardRecordRespVO> convertList(List<ShopGiftCardRecordDO> list);

    PageResult<ShopGiftCardRecordRespVO> convertPage(PageResult<ShopGiftCardRecordDO> page);

    List<ShopGiftCardRecordExcelVO> convertList02(List<ShopGiftCardRecordDO> list);

}
